#ifndef _LOG_H
#define _LOG_H

#include <stdio.h>
#include "..\common\def.h"
#include "..\common\string.h"

class EE_EXPORT CLog
{
private:
	CLog()
	{	}

	~CLog()
	{ Close();  }

	static FILE *pLogFile; 
public:

	static void Write(const char *ptrChar); 
	static void Write(string &szText); 
	static void WriteEx(const char* format,...); 

	static void WriteSpacer(); 
	static void WriteLine(char *ptrChar); 
	static void WriteLine(string &szText); 
	static void WriteLineEx(const char* format,...); 

	static bool Close(); 
	static bool Open(); 
}; 


#endif
